﻿using MahApps.Metro.Controls;
using MahApps.Metro.Controls.Dialogs;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;
using System.Windows.Shapes;
using System.Windows.Controls.Primitives;

namespace KELT
{
    /// <summary>
    /// MainMenu.xaml에 대한 상호 작용 논리
    /// </summary>
    public partial class MainMenu : MetroWindow
    {
        public MainMenu()
        {
            InitializeComponent();

            this.Loaded += MainMenu_Loaded;
        }

        void MainMenu_Loaded(object sender, RoutedEventArgs e)
        {
            this.panel_menunone.Visibility = Visibility.Hidden;
            this.panel_newproject.Visibility = Visibility.Visible;
            this.panel_recent.Visibility = Visibility.Hidden;
        }

        private void btn_done_Click(object sender, RoutedEventArgs e)
        {           
            this.Close();
        }

        private void btn_newproject_Click(object sender, RoutedEventArgs e)
        {
            this.panel_menunone.Visibility = Visibility.Hidden;
            this.panel_recent.Visibility = Visibility.Hidden;
            this.panel_newproject.Visibility = Visibility.Visible;
        }

        private void btn_recent_Click(object sender, RoutedEventArgs e)
        {
            this.panel_menunone.Visibility = Visibility.Hidden;
            this.panel_newproject.Visibility = Visibility.Hidden;
            this.panel_recent.Visibility = Visibility.Visible;
        }

        private void btn_option_Click(object sender, RoutedEventArgs e)
        {

        }

        private void btn_online_Click(object sender, RoutedEventArgs e)
        {

        }
    }
}
